package com.twetec.cms.model.po.website;

import com.twetec.cms.model.po.base.BasePO;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 文章附件表
 * </p>
 *
 * @author zhxl
 * @since 2021-10-08
 */
@TableName("ARTICLE_ATTACHMENT")
public class ArticleAttachmentPO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 附件名称
     */
    @TableField("ATTACHMENT_NAME")
    private String attachmentName;

    /**
     * 附件地址
     */
    @TableField("ATTACHMENT_URL")
    private String attachmentUrl;

    /**
     * 文章id
     */
    @TableField("ARTICLE_ID")
    private Long articleId;



    public String getAttachmentName() {
        return attachmentName;
    }

    public void setAttachmentName(String attachmentName) {
        this.attachmentName = attachmentName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }


    @Override
    public String toString() {
        return "ArticleAttachmentPO{" +
        "attachmentName=" + attachmentName +
        ", attachmentUrl=" + attachmentUrl +
        ", articleId=" + articleId +
        "}";
    }
}
